#include "date.h"
#include <gtest/gtest.h>

/* Ex 3.1: Show that changing the compiler generated
           copy doesnt change the original object
*/
TEST(Date, noSharedStateWithDateAndItsCopy)
{
    Date myDate(22,June,2003);
    Date copy_myDate = myDate;

    copy_myDate.increaseDateByOne();

    EXPECT_FALSE( myDate == copy_myDate);
}
